package com.bootdo.settingDemo.service.impl;

import com.bootdo.settingDemo.dao.WarehouseinfoDao;
import com.bootdo.settingDemo.domain.WarehouseinfoDO;
import com.bootdo.settingDemo.service.WarehouseinfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;





@Service
public class WarehouseinfoServiceImpl implements WarehouseinfoService {
	@Autowired
	private WarehouseinfoDao warehouseinfoDao;
	
	@Override
	public WarehouseinfoDO get(Long id){
		return warehouseinfoDao.get(id);
	}
	
	@Override
	public List<WarehouseinfoDO> list(Map<String, Object> map){
		return warehouseinfoDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return warehouseinfoDao.count(map);
	}
	
	@Override
	public int save(WarehouseinfoDO warehouseinfo){
		return warehouseinfoDao.save(warehouseinfo);
	}
	
	@Override
	public int update(WarehouseinfoDO warehouseinfo){
		return warehouseinfoDao.update(warehouseinfo);
	}
	
	@Override
	public int remove(Long id){
		return warehouseinfoDao.remove(id);
	}
	
	@Override
	public int batchRemove(Long[] ids){
		return warehouseinfoDao.batchRemove(ids);
	}
	
}
